import Vue from 'vue'
import App from '@/App'
import router from '@/router'
import TypeNav from '@/components/TypeNav'
import MySwiper from '@/components/MySwiper'
import store from '@/store'
import '@/mock/mockServer'
import "swiper/css/swiper.min.css";

// import '@/api'    测试接口
// import {reqCategoryList} from '@/api'
// reqCategoryList()

Vue.config.productionTip = false
Vue.component('TypeNav',TypeNav)
Vue.component('MySwiper',MySwiper)
new Vue({
  beforeCreate(){
    Vue.prototype.$bus = this
  },
  render: h => h(App),
  router,
  store,
}).$mount('#app')
